/**
 * This is my code.
 *
 * $Id$
 */
package fi.jab.esb.config.xml.util;

import fi.jab.esb.config.xml.*;

import java.math.BigInteger;

import java.util.Map;

import org.eclipse.emf.common.util.DiagnosticChain;

import org.eclipse.emf.ecore.EPackage;

import org.eclipse.emf.ecore.util.EObjectValidator;

import org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator;

/**
 * <!-- begin-user-doc -->
 * The <b>Validator</b> for the model.
 * <!-- end-user-doc -->
 * @see fi.jab.esb.config.xml.XmlPackage
 * @generated
 */
public class XmlValidator extends EObjectValidator
{
  /**
   * The cached model package
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public static final XmlValidator INSTANCE = new XmlValidator();

  /**
   * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see org.eclipse.emf.common.util.Diagnostic#getSource()
   * @see org.eclipse.emf.common.util.Diagnostic#getCode()
   * @generated
   */
  public static final String DIAGNOSTIC_SOURCE = "fi.jab.esb.config.xml";

  /**
   * A constant with a fixed name that can be used as the base value for additional hand written constants.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 0;

  /**
   * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;

  /**
   * The cached base package validator.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected XMLTypeValidator xmlTypeValidator;

  /**
   * Creates an instance of the switch.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public XmlValidator()
  {
    super();
    xmlTypeValidator = XMLTypeValidator.INSTANCE;
  }

  /**
   * Returns the package of this validator switch.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  protected EPackage getEPackage()
  {
    return XmlPackage.eINSTANCE;
  }

  /**
   * Calls <code>validateXXX</code> for the corresponding classifier of the model.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    switch (classifierID)
    {
      case XmlPackage.ABSTRACT_SCHEDULED_LISTENER:
        return validateAbstractScheduledListener((AbstractScheduledListener)value, diagnostics, context);
      case XmlPackage.ACTIONS_TYPE:
        return validateActionsType((ActionsType)value, diagnostics, context);
      case XmlPackage.ACTION_TYPE:
        return validateActionType((ActionType)value, diagnostics, context);
      case XmlPackage.ACTIVATION_CONFIG_TYPE:
        return validateActivationConfigType((ActivationConfigType)value, diagnostics, context);
      case XmlPackage.BUS:
        return validateBus((Bus)value, diagnostics, context);
      case XmlPackage.BUS_PROVIDER:
        return validateBusProvider((BusProvider)value, diagnostics, context);
      case XmlPackage.BUS_PROVIDER_TYPE:
        return validateBusProviderType((BusProviderType)value, diagnostics, context);
      case XmlPackage.CRON_SCHEDULE_TYPE:
        return validateCronScheduleType((CronScheduleType)value, diagnostics, context);
      case XmlPackage.DOCUMENT_ROOT:
        return validateDocumentRoot((DocumentRoot)value, diagnostics, context);
      case XmlPackage.FS_BUS_TYPE:
        return validateFsBusType((FsBusType)value, diagnostics, context);
      case XmlPackage.FS_LISTENER_TYPE:
        return validateFsListenerType((FsListenerType)value, diagnostics, context);
      case XmlPackage.FS_MESSAGE_FILTER_TYPE:
        return validateFsMessageFilterType((FsMessageFilterType)value, diagnostics, context);
      case XmlPackage.FS_PROVIDER_TYPE:
        return validateFsProviderType((FsProviderType)value, diagnostics, context);
      case XmlPackage.FTP_BUS_TYPE:
        return validateFtpBusType((FtpBusType)value, diagnostics, context);
      case XmlPackage.FTP_LISTENER_TYPE:
        return validateFtpListenerType((FtpListenerType)value, diagnostics, context);
      case XmlPackage.FTP_MESSAGE_FILTER_TYPE:
        return validateFtpMessageFilterType((FtpMessageFilterType)value, diagnostics, context);
      case XmlPackage.FTP_PROVIDER_TYPE:
        return validateFtpProviderType((FtpProviderType)value, diagnostics, context);
      case XmlPackage.GROOVY_LISTENER_TYPE:
        return validateGroovyListenerType((GroovyListenerType)value, diagnostics, context);
      case XmlPackage.HIBERNATE_BUS_TYPE:
        return validateHibernateBusType((HibernateBusType)value, diagnostics, context);
      case XmlPackage.HIBERNATE_LISTENER_TYPE:
        return validateHibernateListenerType((HibernateListenerType)value, diagnostics, context);
      case XmlPackage.HIBERNATE_MESSAGE_FILTER_TYPE:
        return validateHibernateMessageFilterType((HibernateMessageFilterType)value, diagnostics, context);
      case XmlPackage.HIBERNATE_PROVIDER_TYPE:
        return validateHibernateProviderType((HibernateProviderType)value, diagnostics, context);
      case XmlPackage.JBOSSESB_TYPE:
        return validateJbossesbType((JbossesbType)value, diagnostics, context);
      case XmlPackage.JBR_BUS_TYPE:
        return validateJbrBusType((JbrBusType)value, diagnostics, context);
      case XmlPackage.JBR_LISTENER_TYPE:
        return validateJbrListenerType((JbrListenerType)value, diagnostics, context);
      case XmlPackage.JBR_PROVIDER_TYPE:
        return validateJbrProviderType((JbrProviderType)value, diagnostics, context);
      case XmlPackage.JCA_GATEWAY_TYPE:
        return validateJcaGatewayType((JcaGatewayType)value, diagnostics, context);
      case XmlPackage.JMS_BUS_TYPE:
        return validateJmsBusType((JmsBusType)value, diagnostics, context);
      case XmlPackage.JMS_JCA_PROVIDER_TYPE:
        return validateJmsJcaProviderType((JmsJcaProviderType)value, diagnostics, context);
      case XmlPackage.JMS_LISTENER_TYPE:
        return validateJmsListenerType((JmsListenerType)value, diagnostics, context);
      case XmlPackage.JMS_MESSAGE_FILTER_TYPE:
        return validateJmsMessageFilterType((JmsMessageFilterType)value, diagnostics, context);
      case XmlPackage.JMS_PROVIDER_TYPE:
        return validateJmsProviderType((JmsProviderType)value, diagnostics, context);
      case XmlPackage.LISTENER:
        return validateListener((Listener)value, diagnostics, context);
      case XmlPackage.LISTENERS_TYPE:
        return validateListenersType((ListenersType)value, diagnostics, context);
      case XmlPackage.PROPERTY_TYPE:
        return validatePropertyType((PropertyType)value, diagnostics, context);
      case XmlPackage.PROVIDER:
        return validateProvider((Provider)value, diagnostics, context);
      case XmlPackage.PROVIDERS_TYPE:
        return validateProvidersType((ProvidersType)value, diagnostics, context);
      case XmlPackage.SCHEDULE:
        return validateSchedule((Schedule)value, diagnostics, context);
      case XmlPackage.SCHEDULED_LISTENER_TYPE:
        return validateScheduledListenerType((ScheduledListenerType)value, diagnostics, context);
      case XmlPackage.SCHEDULE_PROVIDER_TYPE:
        return validateScheduleProviderType((ScheduleProviderType)value, diagnostics, context);
      case XmlPackage.SERVICES_TYPE:
        return validateServicesType((ServicesType)value, diagnostics, context);
      case XmlPackage.SERVICE_TYPE:
        return validateServiceType((ServiceType)value, diagnostics, context);
      case XmlPackage.SIMPLE_SCHEDULE_TYPE:
        return validateSimpleScheduleType((SimpleScheduleType)value, diagnostics, context);
      case XmlPackage.SQL_BUS_TYPE:
        return validateSqlBusType((SqlBusType)value, diagnostics, context);
      case XmlPackage.SQL_LISTENER_TYPE:
        return validateSqlListenerType((SqlListenerType)value, diagnostics, context);
      case XmlPackage.SQL_MESSAGE_FILTER_TYPE:
        return validateSqlMessageFilterType((SqlMessageFilterType)value, diagnostics, context);
      case XmlPackage.SQL_PROVIDER_TYPE:
        return validateSqlProviderType((SqlProviderType)value, diagnostics, context);
      case XmlPackage.DEST_TYPE_TYPE:
        return validateDestTypeType((DestTypeType)value, diagnostics, context);
      case XmlPackage.MEP_TYPE:
        return validateMepType((MepType)value, diagnostics, context);
      case XmlPackage.PROTOCOL_TYPE:
        return validateProtocolType((ProtocolType)value, diagnostics, context);
      case XmlPackage.PROTOCOL_TYPE1:
        return validateProtocolType1((ProtocolType1)value, diagnostics, context);
      case XmlPackage.DEST_TYPE_TYPE_OBJECT:
        return validateDestTypeTypeObject((DestTypeType)value, diagnostics, context);
      case XmlPackage.MEP_TYPE_OBJECT:
        return validateMepTypeObject((MepType)value, diagnostics, context);
      case XmlPackage.POLL_FREQUENCY_SECONDS_TYPE:
        return validatePollFrequencySecondsType((BigInteger)value, diagnostics, context);
      case XmlPackage.PROTOCOL_TYPE_OBJECT:
        return validateProtocolTypeObject((ProtocolType)value, diagnostics, context);
      case XmlPackage.PROTOCOL_TYPE_OBJECT1:
        return validateProtocolTypeObject1((ProtocolType1)value, diagnostics, context);
      default: 
        return true;
    }
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateAbstractScheduledListener(AbstractScheduledListener abstractScheduledListener, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(abstractScheduledListener, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateActionsType(ActionsType actionsType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(actionsType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateActionType(ActionType actionType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(actionType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateActivationConfigType(ActivationConfigType activationConfigType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(activationConfigType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateBus(Bus bus, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(bus, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateBusProvider(BusProvider busProvider, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(busProvider, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateBusProviderType(BusProviderType busProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(busProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateCronScheduleType(CronScheduleType cronScheduleType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(cronScheduleType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(documentRoot, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFsBusType(FsBusType fsBusType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(fsBusType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFsListenerType(FsListenerType fsListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(fsListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFsMessageFilterType(FsMessageFilterType fsMessageFilterType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(fsMessageFilterType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFsProviderType(FsProviderType fsProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(fsProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFtpBusType(FtpBusType ftpBusType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(ftpBusType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFtpListenerType(FtpListenerType ftpListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(ftpListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFtpMessageFilterType(FtpMessageFilterType ftpMessageFilterType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(ftpMessageFilterType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateFtpProviderType(FtpProviderType ftpProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(ftpProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateGroovyListenerType(GroovyListenerType groovyListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(groovyListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateHibernateBusType(HibernateBusType hibernateBusType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(hibernateBusType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateHibernateListenerType(HibernateListenerType hibernateListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(hibernateListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateHibernateMessageFilterType(HibernateMessageFilterType hibernateMessageFilterType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(hibernateMessageFilterType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateHibernateProviderType(HibernateProviderType hibernateProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(hibernateProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJbossesbType(JbossesbType jbossesbType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jbossesbType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJbrBusType(JbrBusType jbrBusType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jbrBusType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJbrListenerType(JbrListenerType jbrListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jbrListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJbrProviderType(JbrProviderType jbrProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jbrProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJcaGatewayType(JcaGatewayType jcaGatewayType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jcaGatewayType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJmsBusType(JmsBusType jmsBusType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jmsBusType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJmsJcaProviderType(JmsJcaProviderType jmsJcaProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jmsJcaProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJmsListenerType(JmsListenerType jmsListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jmsListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJmsMessageFilterType(JmsMessageFilterType jmsMessageFilterType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jmsMessageFilterType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateJmsProviderType(JmsProviderType jmsProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(jmsProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateListener(Listener listener, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(listener, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateListenersType(ListenersType listenersType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(listenersType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validatePropertyType(PropertyType propertyType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(propertyType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateProvider(Provider provider, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(provider, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateProvidersType(ProvidersType providersType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(providersType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateSchedule(Schedule schedule, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(schedule, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateScheduledListenerType(ScheduledListenerType scheduledListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(scheduledListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateScheduleProviderType(ScheduleProviderType scheduleProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(scheduleProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateServicesType(ServicesType servicesType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(servicesType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateServiceType(ServiceType serviceType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(serviceType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateSimpleScheduleType(SimpleScheduleType simpleScheduleType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(simpleScheduleType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateSqlBusType(SqlBusType sqlBusType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(sqlBusType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateSqlListenerType(SqlListenerType sqlListenerType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(sqlListenerType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateSqlMessageFilterType(SqlMessageFilterType sqlMessageFilterType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(sqlMessageFilterType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateSqlProviderType(SqlProviderType sqlProviderType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return validate_EveryDefaultConstraint(sqlProviderType, diagnostics, context);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateDestTypeType(DestTypeType destTypeType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateMepType(MepType mepType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateProtocolType(ProtocolType protocolType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateProtocolType1(ProtocolType1 protocolType1, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateDestTypeTypeObject(DestTypeType destTypeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateMepTypeObject(MepType mepTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validatePollFrequencySecondsType(BigInteger pollFrequencySecondsType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    boolean result = validatePollFrequencySecondsType_Min(pollFrequencySecondsType, diagnostics, context);
    return result;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   * @see #validatePollFrequencySecondsType_Min
   */
  public static final BigInteger POLL_FREQUENCY_SECONDS_TYPE__MIN__VALUE = new BigInteger("0");

  /**
   * Validates the Min constraint of '<em>Poll Frequency Seconds Type</em>'.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validatePollFrequencySecondsType_Min(BigInteger pollFrequencySecondsType, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    boolean result = pollFrequencySecondsType.compareTo(POLL_FREQUENCY_SECONDS_TYPE__MIN__VALUE) > 0;
    if (!result && diagnostics != null) 
      reportMinViolation(XmlPackage.Literals.POLL_FREQUENCY_SECONDS_TYPE, pollFrequencySecondsType, POLL_FREQUENCY_SECONDS_TYPE__MIN__VALUE, false, diagnostics, context);
    return result; 
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateProtocolTypeObject(ProtocolType protocolTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public boolean validateProtocolTypeObject1(ProtocolType1 protocolTypeObject1, DiagnosticChain diagnostics, Map<Object, Object> context)
  {
    return true;
  }

} //XmlValidator
